<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>个人资料--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/system/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/system/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form layui-row">
		<input type="hidden" id="userId" th:value="${userId}">
		<div class="layui-form-item">
			<label class="layui-form-label">角色类型</label>
			<div class="layui-input-block userHobby" th:each="role : ${roleBeans}" >
				<input  type="checkbox" th:value="${role.id}" th:checked="${role.createUser == 0}" name="roleId" th:title="${role.title}">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="changeUser">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
</form>
<script type="text/javascript" src="/system/layui/layui.js"></script>
<script type="text/javascript" src="/user/userGrant.js"></script>
</body>
</html>